import {Module} from 'vuex'
import { IndexState } from '@/typeings';
import {IGlobalState} from '../index';
const state ={
	tabberNameList:[
		{
			icon: "home-o",
			tabName: "首页",
			path:'/home'
		},
		
		{
			icon: "shop-o",
			tabName: "商城",
			path:'/shop'
		},
		{
			icon: "description",
			tabName: "订单",
			path:'/order'
		},
		{
			icon: "manager-o",
			tabName: "我的",
			path:'/user'
		},
	]
}

const mutations = {}
const actions = {}
//Module里的参数 1）自状态 2）全局状态
const index:Module<IndexState,IGlobalState> ={
	namespaced:true,
	state,
	mutations,
	actions
}
export default index;